package com.yueqian.service;

import com.yueqian.domain.Permission;
import com.yueqian.domain.Role;

import java.util.List;

public interface IRoleService {
    List<Role> findAll() throws Exception;

    void save(Role role) throws Exception;

    List<Permission> findRoleAndNoPermission(String roleId)throws Exception;

    void addPermissionToRole(String roleId, String[] ids)throws Exception;
}
